import 'package:fish_redux/fish_redux.dart';

//TODO replace with your own action
enum LoginPhoneAction { action,upPrivacy,upPhone }

class LoginPhoneActionCreator {
  static Action onAction() {
    return const Action(LoginPhoneAction.action);
  }
  static Action upPrivacy(bool isP) {
    return  Action(LoginPhoneAction.upPrivacy,payload: isP);
  }

  static Action upPhone(String phone) {
    return  Action(LoginPhoneAction.upPhone,payload: phone);
  }

}
